package com.example.journeyreserve.network

import com.example.journeyreserve.model.Reservation
import com.example.journeyreserve.model.ReservationResponse
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.POST

interface ReservationResponseService {
    @POST("reserve/hotel")
    fun reserveHotel(@Body rsv: Reservation): Call<ReservationResponse>

    @POST("reserve/flight")
    fun reserveFlight(@Body rsv: Reservation): Call<ReservationResponse>

    @POST("reserve/bus")
    fun reserveBus(@Body rsv: Reservation): Call<ReservationResponse>
}